package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:13
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductIssueAttachDAO extends IDataAccessInterface<ProductIssueAttach, ProductIssueAttachDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_ISSUE_ATTACH";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_ISSUE_ATTACH.ID";

    /**
     * Mapped Field ISSUE_ID
    */
    static final String IssueId = "PRODUCT_ISSUE_ATTACH.ISSUE_ID";

    /**
     * Mapped Field ATTACH_FILE_NAME
    */
    static final String AttachFileName = "PRODUCT_ISSUE_ATTACH.ATTACH_FILE_NAME";

    /**
     * Mapped Field ATTACH_FILE_PATH
    */
    static final String AttachFilePath = "PRODUCT_ISSUE_ATTACH.ATTACH_FILE_PATH";

    /**
     * Mapped Field UPLOAD_TIME
    */
    static final String UploadTime = "PRODUCT_ISSUE_ATTACH.UPLOAD_TIME";

    /**
     * Mapped Field UPLOAD_USER_ID
    */
    static final String UploadUserId = "PRODUCT_ISSUE_ATTACH.UPLOAD_USER_ID";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_ISSUE_ATTACH.STATUS";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_ISSUE_ATTACH.REMARKS";

    /**
     * Mapped Attribute uploadUserName
    */
    static final String UploadUserName = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserName,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".",
            "RELATED_X8D4OX_SysUser.");

    /**
     * Mapped Attribute uploadUserPhoto
    */
    static final String UploadUserPhoto = org.apache.commons.lang.StringUtils.replace(com.ourteam.system.dao.ISysUserDAO.UserPhoto,
            com.ourteam.system.dao.ISysUserDAO.EntityName + ".",
            "RELATED_X8D4OX_SysUser.");

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductIssueAttach findById(final long id) throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute issueId
         */
        static final String IssueId = "issueId";

        /**
         * Attribute attachFileName
         */
        static final String AttachFileName = "attachFileName";

        /**
         * Attribute attachFilePath
         */
        static final String AttachFilePath = "attachFilePath";

        /**
         * Attribute uploadTime
         */
        static final String UploadTime = "uploadTime";

        /**
         * Attribute uploadUserId
         */
        static final String UploadUserId = "uploadUserId";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute uploadUserName
         */
        static final String UploadUserName = "uploadUserName";

        /**
         * Attribute uploadUserPhoto
         */
        static final String UploadUserPhoto = "uploadUserPhoto";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
